package com.maoyanjava.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("list")
public class Listt {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    private int uid;
    private int sid;
    private  int pid;

    @TableField(exist = false)
    private Seat seat;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private Plan plan;
}
